﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 挂号.compent
{


    public class EndFeeAccount
    {
        public int C { get; set; }
        public string T { get; set; }
        public D4 D { get; set; }
    }

    public class D4
    {
        public string AccountNo { get; set; }
        public string AccountStatus { get; set; }
        public object OptType { get; set; }
        public DateTime AccountTime { get; set; }
        public int FeeType { get; set; }
        public string OutPatientNo { get; set; }
        public object PatientName { get; set; }
        public float Amount { get; set; }
        public float RoundingAmount { get; set; }
        public object AccountType { get; set; }
        public float MedicalAmount { get; set; }
        public float HospAmount { get; set; }
        public float CardAmount { get; set; }
        public float SelfAmount { get; set; }
        public float Cash { get; set; }
        public object PreAcctNumber { get; set; }
        public float PreAmount { get; set; }
        public float ThirdAmount { get; set; }
        public object ThirdType { get; set; }
        public object ThirdKey { get; set; }
        public object StationId { get; set; }
        public object DailyId { get; set; }
        public object RelFeeId { get; set; }
        public object AcceptType { get; set; }
        public object OperatorCode { get; set; }
        public string UnitId { get; set; }
        public object DailyTime { get; set; }
        public object FactOperator { get; set; }
        public object PrePayType { get; set; }
        public float ThirdAccount { get; set; }
        public object ThirdAcctNumber { get; set; }
        public float GbAmount { get; set; }
        public int AutoRowid { get; set; }
        public object FeeOutAccountoid { get; set; }
        public object CreateOn { get; set; }
        public object UpdateOn { get; set; }
        public int DeletedMark { get; set; }
        public object CreateBy { get; set; }
        public object UpdateBy { get; set; }
        public object CreateStation { get; set; }
        public object UpdateStation { get; set; }
        public object SrvId { get; set; }
        public object XmlData { get; set; }
        public object VisitId { get; set; }
        public DateTime MBegin { get; set; }
        public string MThirdPay { get; set; }
        public string MMedicaling { get; set; }
        public string MMedical { get; set; }
        public string MMedicaled { get; set; }
        public string MCallback { get; set; }
        public DateTime MEnd { get; set; }
    }


    public class Begininfo
    {
        public int C { get; set; }
        public string T { get; set; }
        public D3 D { get; set; }
    }

    public class D3
    {
        public string AccountNo { get; set; }
        public string AccountStatus { get; set; }
        public object OptType { get; set; }
        public DateTime AccountTime { get; set; }
        public int FeeType { get; set; }
        public string OutPatientNo { get; set; }
        public object PatientName { get; set; }
        public float Amount { get; set; }
        public float RoundingAmount { get; set; }
        public object AccountType { get; set; }
        public float MedicalAmount { get; set; }
        public float HospAmount { get; set; }
        public float CardAmount { get; set; }
        public float SelfAmount { get; set; }
        public float Cash { get; set; }
        public object PreAcctNumber { get; set; }
        public float PreAmount { get; set; }
        public float ThirdAmount { get; set; }
        public object ThirdType { get; set; }
        public object ThirdKey { get; set; }
        public object StationId { get; set; }
        public object DailyId { get; set; }
        public object RelFeeId { get; set; }
        public object AcceptType { get; set; }
        public object OperatorCode { get; set; }
        public string UnitId { get; set; }
        public object DailyTime { get; set; }
        public object FactOperator { get; set; }
        public object PrePayType { get; set; }
        public float ThirdAccount { get; set; }
        public object ThirdAcctNumber { get; set; }
        public float GbAmount { get; set; }
        public int AutoRowid { get; set; }
        public object FeeOutAccountoid { get; set; }
        public object CreateOn { get; set; }
        public object UpdateOn { get; set; }
        public int DeletedMark { get; set; }
        public object CreateBy { get; set; }
        public object UpdateBy { get; set; }
        public object CreateStation { get; set; }
        public object UpdateStation { get; set; }
        public object SrvId { get; set; }
        public object XmlData { get; set; }
        public object VisitId { get; set; }
        public DateTime MBegin { get; set; }
        public string MThirdPay { get; set; }
        public string MMedicaling { get; set; }
        public string MMedical { get; set; }
        public string MMedicaled { get; set; }
        public string MCallback { get; set; }
        public object MEnd { get; set; }
    }

    public class UIInter
    {
        public int C { get; set; }
        public string T { get; set; }
        public D2[] D { get; set; }
    }

    public class D2
    {
        public string UnitId { get; set; }
        public string UiEventId { get; set; }
        public string FunId { get; set; }
        public int SortCode { get; set; }
        public int FuncSort { get; set; }
        public string ModuleName { get; set; }
        public string EventName { get; set; }
        public string FuncName { get; set; }
        public string FuncDescription { get; set; }
        public int FuncType { get; set; }
        public string FuncUrl { get; set; }
        public int IsThird { get; set; }
        public string ParamMemo { get; set; }
        public int IsReturn { get; set; }
        public int CallType { get; set; }
        public int ShowType { get; set; }
        public int ApicallType { get; set; }
        public string ApiHearders { get; set; }
        public string WinCaption { get; set; }
        public int WinWidth { get; set; }
        public int WinHeight { get; set; }
    }









    public class Loadinfo
    {
        public int C { get; set; }
        public string T { get; set; }
        public D1 D { get; set; }
    }

    public class D1
    {
        public string AcceptBatchCode { get; set; }
        public Detail[] Details { get; set; }
        public Order[] Orders { get; set; }
        public Visitid[] VisitIds { get; set; }
        public object AccountType { get; set; }
        public object ChangeAccountType { get; set; }
        public object ChangeId { get; set; }
        public object ChangeDetaiList { get; set; }
        public object ChangeStatus { get; set; }
    }

    public class Detail
    {
        public string RId { get; set; }
        public string SrcTable { get; set; }
        public string UnitId { get; set; }
        public string OutPatientNo { get; set; }
        public string PatientName { get; set; }
        public string VisitId { get; set; }
        public float Price { get; set; }
        public float Quantity { get; set; }
        public object Unit { get; set; }
        public float Amount { get; set; }
        public object Doctor { get; set; }
        public object DoctorId { get; set; }
        public string PracticeDept { get; set; }
        public string PracticeDeptId { get; set; }
        public string Dept { get; set; }
        public string DeptId { get; set; }
        public string OrderId { get; set; }
        public DateTime OrderTime { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public int SubQuantity { get; set; }
        public float SelfPay { get; set; }
        public bool Accepted { get; set; }
        public bool Disabled { get; set; }
        public string FormulaNo { get; set; }
        public int LocalCreate { get; set; }
        public string ExpensesNo { get; set; }
        public object MedicalTypeName { get; set; }
        public int UnitType { get; set; }
        public object WarehouseNo { get; set; }
        public int IncludeQuantity { get; set; }
        public float MaxUnitPrice { get; set; }
        public float MinUnitPrice { get; set; }
        public float MaxUnitQuantity { get; set; }
        public float MinUnitQuantity { get; set; }
        public object BatchNo { get; set; }
        public float BatchPrice { get; set; }
        public float ImportPrice { get; set; }
        public object Dosage { get; set; }
        public object Spec { get; set; }
        public int HealthCheck { get; set; }
        public int RegType { get; set; }
        public float YHBL { get; set; }
        public object Dose { get; set; }
        public object DoseUnit { get; set; }
        public object Frenquency { get; set; }
        public object Directions { get; set; }
        public object SkinMark { get; set; }
        public object M1 { get; set; }
        public object M2 { get; set; }
        public object M3 { get; set; }
        public object M4 { get; set; }
        public object M5 { get; set; }
        public object M6 { get; set; }
        public float OrgBatchPrice { get; set; }
        public float OrgExportPrice { get; set; }
        public int OrgBatchNo { get; set; }
        public bool CanEditPriced { get; set; }
        public bool CanEditQrt { get; set; }
        public bool CanEditAccepted { get; set; }
        public string FeeRowid { get; set; }
        public int FeeType { get; set; }
        public int SourceType { get; set; }
        public string RpId { get; set; }
        public string SourceTable { get; set; }
        public string SourceRowid { get; set; }
        public int VisitType { get; set; }
        public object OrderCode { get; set; }
        public object InvoiceDetailId { get; set; }
        public string InvoiceItemCode { get; set; }
        public string InvoiceItemName { get; set; }
        public int LimitMark { get; set; }
        public int OrderType { get; set; }
        public int ItemType { get; set; }
        public float ReduceAmount { get; set; }
        public object ReduceType { get; set; }
        public object ApplyNo { get; set; }
        public object HealthCheckNo { get; set; }
        public object HealthBatchNo { get; set; }
        public object HealthUnitName { get; set; }
        public float UnitAmount { get; set; }
        public float SelfAmount { get; set; }
        public object YbDoctorId { get; set; }
        public object RecipeType { get; set; }
        public object RecipeTypeName { get; set; }
        public object ExdsId { get; set; }
        public int YbOutUse { get; set; }
    }

    public class Order
    {
        public DateTime OrderTime { get; set; }
        public string OrderId { get; set; }
        public object Doctor { get; set; }
        public float Amount { get; set; }
        public object SourceTableName { get; set; }
        public object FormulaNo { get; set; }
        public bool Accepted { get; set; }
        public bool Disabled { get; set; }
        public string VisitId { get; set; }
        public int GroupNo { get; set; }
        public object YbDoctorId { get; set; }
        public object RecipeType { get; set; }
        public object RecipeTypeName { get; set; }
        public object ExdsId { get; set; }
    }

    public class Visitid
    {
        public string VisitId { get; set; }
        public string OutPatientno { get; set; }
        public string Name { get; set; }
        public object DoctorId { get; set; }
        public object DoctorName { get; set; }
        public string DeptId { get; set; }
        public string DeptName { get; set; }
        public DateTime Dt { get; set; }
        public object IllCode { get; set; }
        public object IllName { get; set; }
        public object AgeText { get; set; }
        public object Sex { get; set; }
        public object YbIllCode { get; set; }
        public object YbDoctorId { get; set; }
        public float Amount { get; set; }
        public bool Accepted { get; set; }
    }




    public class Reginfo
    {
        public int C { get; set; }
        public string T { get; set; }
        public D D { get; set; }
    }

    public class D
    {
        public string RegisterId { get; set; }
        public string OutpatientNo { get; set; }
        public string AccountType { get; set; }
        public string[] FeeIds { get; set; }
        public string SourceId { get; set; }
        public string destMobile { get; set; }
        public string msgText { get; set; }
    }


    public class ComboboxData
    {
        public string id { get; set; }
        public string name { get; set; }

    }


    public class QueryPatient
    {
        public int C { get; set; }
        public string T { get; set; }
        public PatientInfores[] D { get; set; }
    }

    public class PatientInfores
    {
        public string NationalityName { get; set; }
        public string NationCodeName { get; set; }
        public string Address1Name { get; set; }
        public string Address2Name { get; set; }
        public string Address3Name { get; set; }
        public string NativePlaceName { get; set; }
        public string UnitId { get; set; }
        public string PatientId { get; set; }
        public int CardType { get; set; }
        public string CardNo { get; set; }
        public string Name { get; set; }
        public int Sex { get; set; }
        public DateTime Birthday { get; set; }
        public string AgeText { get; set; }
        public int Reliability { get; set; }
        public string Idnumber { get; set; }
        public string HealthDocNo { get; set; }
        public string HealthCardNo { get; set; }
        public string MedicareNo { get; set; }
        public string FinanceNo { get; set; }
        public string ServiceNo { get; set; }
        public int AgeYear { get; set; }
        public int AgeMonth { get; set; }
        public int AgeDay { get; set; }
        public DateTime GetAgeDate { get; set; }
        public string PhoneCode { get; set; }
        public string MotherName { get; set; }
        public string GuardianType { get; set; }
        public string LinkmanInfo { get; set; }
        public object DeathDate { get; set; }
        public string Email { get; set; }
        public string Qq { get; set; }
        public string Wenxin { get; set; }
        public string MedicareType { get; set; }
        public string MarriageCode { get; set; }
        public string NationCode { get; set; }
        public string OccupationCode { get; set; }
        public string Nationality { get; set; }
        public string NativePlace { get; set; }
        public string BirthPlace { get; set; }
        public string WorkUnit { get; set; }
        public string WorkPhone { get; set; }
        public string Address { get; set; }
        public string RegAdress { get; set; }
        public string AddressType { get; set; }
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string Address3 { get; set; }
        public string Address4 { get; set; }
        public string Address5 { get; set; }
        public string Address6 { get; set; }
        public int PlaceType { get; set; }
        public string PostalCode { get; set; }
        public string ContactsName { get; set; }
        public string ContactsPhone { get; set; }
        public long CreateTime { get; set; }
        public string CreateOrg { get; set; }
        public string Creator { get; set; }
        public string ModifyLogid { get; set; }
        public string Remark { get; set; }
        public string IdcardPhoto { get; set; }
        public DateTime BirthTime { get; set; }
        public string AccountType { get; set; }
        public string PassType { get; set; }
        public string PassNumber { get; set; }
        public string GaId { get; set; }
        public string TwId { get; set; }
        public string ContactsRelation { get; set; }
        public string GuardianId { get; set; }
        public string GuardianIdType { get; set; }



    }


}

